package com.anolesoft.amljmes.foreknow.service.impl;

import com.anolesoft.amljmes.foreknow.bo.MesBzzPtd;
import com.anolesoft.amljmes.foreknow.bo.MesBzzPtjh;
import com.anolesoft.amljmes.foreknow.dto.MesBzzPtjhDto;
import com.anolesoft.amljmes.foreknow.mapper.MesBzzPtjhMapper;
import com.anolesoft.amljmes.foreknow.service.MesBzzPtjhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MesBzzPtjhServiceImpl implements MesBzzPtjhService {
    @Autowired
    MesBzzPtjhMapper mesBzzPtjhMapper;

    @Override
    public List<MesBzzPtjh> queryAll(MesBzzPtjhDto mesBzzPtjhDto) {
        return mesBzzPtjhMapper.queryAll(mesBzzPtjhDto);
    }

    @Override
    public int update(List<String> list) {
        return mesBzzPtjhMapper.updateDelete(list);
    }

    @Override
    public int insertData(MesBzzPtd vo) {
        return mesBzzPtjhMapper.insertData(vo);
    }

    @Override
    public MesBzzPtjh ptjh(MesBzzPtjh mesBzzPtjh) {
        return mesBzzPtjhMapper.ptjh(mesBzzPtjh);
    }
}
